home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / earcd / comm1 / exclutls.lha / Include / Excel / Door_Command_Codes.i < prev    next >
Text File  |  1996-01-28  |  3KB  |  69 lines

  1. ; EXCELSIOR! Door Interface Communication Command Codes
  2.  
  3. ; Commands 0 to 100 are system private. No usable function is performed by
  4. ; these commands for a door interface. Commands under 100 are also handled
  5. ; differently than commands above 100, and you risk the possibility of 
  6. ; a SYSTEM FAILURE if you attempt to use commands below 100.
  7.  
  8.  
  9.  
  10. CMD_CCLOSE_DOWN        Equ    500    ; Shuts down the interface
  11.  
  12. CMD_GETLINE        Equ    100    ; Prompts the program to get a line
  13. CMD_GETCH        Equ    101    ; Gets a character, will wait
  14. CMD_IRGETCH        Equ    102    ; Gets a character, returns 0 if
  15.                     ; a character isn't waiting.
  16. CMD_WHATIS        Equ    103    ; Returns a pointer to the variable
  17.                     ; requested. All pointers returned by
  18.                     ; WhatIs() point to public memory
  19. CMD_PRINT_STRING    Equ    104    ; Prints out a null terminated string
  20. CMD_CON_WRITE        Equ    105    ; Prints out a null terminated string
  21.                     ; to the console only (handy for debug)
  22.                     ; NO IPL ALLOWED TO CON_WRITE
  23. CMD_RWUBUF        Equ    106    ; R/W an account into the User Buffer
  24. CMD_ACTIVATE_EDITOR    Equ    107    ; Starts up the editor
  25.                     ; Returns ED_SAVE for saving, and
  26.                     ; ED_ABORT for aborting
  27. CMD_CHANGE_WHAT        Equ    108    ; Changes what the user is doing
  28. CMD_CHANGE_WHERE    Equ    109    ; Changes where the user is
  29. CMD_GLOBAL_COMMANDS    Equ    110    ; Execute a global command
  30. CMD_PRINT_FILE        Equ    111    ; Reads a file to the user
  31. CMD_GET_DATE        Equ    112    ; Fills a 'MyDateStamp' with the
  32.                     ; current time and date
  33. CMD_PRINT_DATE        Equ    113    ; Returns a pointer to a null
  34.                     ; terminated string of a 'MyDateStamp'
  35.                     ; passed to this function
  36. CMD_CONFIRM_ID        Equ    114    ; Returns the ID number of a user
  37.                     ; by handle or ID number
  38. CMD_SEND_MAIL        Equ    115    ; Sends Mail to User ID
  39. CMD_EXPORT_FILE        Equ    116    ; A Simple ASCII dump of editor to file
  40. CMD_IMPORT_FILE        Equ    117    ; Load a file into editor
  41. CMD_IS_LOGOFF        Equ    118    ; Is the user logging off
  42. CMD_IS_SYSOP        Equ    119    ; Is the user a sysop
  43. CMD_PARSE_COMMAND    Equ    120    ; Parse string, return result code
  44. CMD_SER_WRITE        Equ    121    ; Serial Write Command
  45.                     ; Arg1 = buffer, Arg2 = buffer length
  46.                     ; This command exists mainly for our
  47.                     ; AUX: handler
  48. CMD_WAIT_CHAR        Equ    122    ; Wait x number of micros for a char
  49.                     ; then return. Arg1 = micros, result1
  50.                     ; equals a character or a null char
  51. CMD_ACTION_READ        Equ    123    ; Read from list - another AUX: handler
  52.                     ; command that is useless for most
  53.                     ; doors. Arg1 is buffer to fill, Arg2
  54.                     ; is number of bytes to read
  55. CMD_ACTION_SCMODE    Equ    124    ; Put the BBS in RAW: mode
  56. CMD_DOOR_PORT        Equ    125    ; Assign address of ecom port
  57. CMD_QUOTE_MACHINE    Equ    126    ; Call the Quote Machine (For VisEd's
  58. CMD_START_CHATMODE    Equ    127    ; Start Chat Mode !!BECAREFUL!!
  59. CMD_CLEAR_EDITOR    Equ    128    ; Clears the editor buffer
  60. CMD_MARK_FILE        Equ    129    ; Marks a file for downloading
  61. CMD_SELECT_PROTO    Equ    130    ; Selects protocols
  62. CMD_DOWNLOAD        Equ    131    ; Starts a download
  63. CMD_OPEN_SCREEN        Equ    132    ; Opens a screen/window
  64. CMD_SER_PRINT        Equ    133    ; Print only to the serial!
  65. CMD_PRINT_MENU        Equ    134    ; Prints menu file in correct lang directory
  66. CMD_ALTER_TIME        Equ    135    ; Alters users time, or returns time online
  67. CMD_OPEN_LOCK        Equ    136    ; Opens lock
  68. CMD_PUT_CH        Equ    137    ; Puts a char to serial/modem
  69.